<template>
    <div class="x-demo-css-div">
        我是默认的样式，
        <el-button @click="loadCss">点击我</el-button>之后变色
    </div>
</template>
<script>
    export default {
        setup(){
            require('./x-demo-css.m.css')
            return {
                loadCss(){
                    require('./x-demo-css2.m.css')
                }
            }
        }
    }
</script>